home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / menus / mnuezx10.zip / M-EZX.BAT < prev    next >
DOS Batch File  |  1989-11-19  |  711b  |  19 lines

  1. echo off
  2. cls
  3. MENU-EZX %1 %2 %3 %4
  4. rem *************************************************************************
  5. rem * ERRORLEVEL = 0 means MENU-EZX will be terminated                      *
  6. rem * ERRORLEVEL = 1 means the secondary command processor will be invoked  * 
  7. rem * ERRORLEVEL = 2 means application program will be executed             *
  8. rem * EZM1.BAT invokes the secondary command processor                      *
  9. rem * EZM2.BAT executes the commands specified by selected item             *
  10. rem *************************************************************************
  11. if ERRORLEVEL 2 goto LEVEL2
  12. if ERRORLEVEL 1 goto LEVEL1
  13. goto DONE
  14. :LEVEL1
  15. M-EZX1
  16. goto DONE
  17. :LEVEL2
  18. M-EZX2
  19. :DONE